 <table class="tablelist">
    	<thead>
    	<tr>
        <th>订单ID</th>
        <th>订单号</th>
        <th>收货人</th>
        <th>收货地址</th>
        <th>提交时间</th>
        <th>订单状态</th>
        <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach from="$orderlists" key="$key" value="$val">
        <tr>
        <td>{$val.oid}</td>
        <td><a href="{|U:'OrderList/details',array('oid'=>$val['oid'])}">{$val.order_sn}</a></td>
        <td>{$val.take_man}</td>
        <td>{$val.take_addr}</td>
        <td>{$val.order_time|date:'Y-m-d H:i:s',@@}</td>
        <td>{$val.order_status}</td>
        <td><a href="{|U:'OrderList/details',array('oid'=>$val['oid'])}" class="hd-btn hd-btn-primary hd-btn-sm" style="display: inline;">明细</a></td>
        </tr>
        </foreach>
        
         
        </tbody>
    </table>